package com.oa.cc.dao;

import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

import com.oa.domain.Dept;

public class DeptDaoImpl extends HibernateDaoSupport implements DeptDao {

	public Dept getDeptById(Long deptno) {
		return (Dept) getSession().get(Dept.class, deptno);
	}

}
